package com.boomsecret.pattern.observer;

/**
 * Created by wangjinliang on 2018/1/24.
 */
public class WeiXinUser implements Observer {
    private String name;

    public WeiXinUser(String name) {
        this.name = name;
    }

    @Override
    public void update(String msg) {
        System.out.println("name:" + name + " MSG:" + msg);
    }
}
